package com.team11.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team11.server.pojo.ClockInformation;
import com.team11.server.pojo.dto.RespPageBean;

import java.time.LocalDate;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author pjc
 * @since 2021-07-06
 */
public interface IClockInformationService extends IService<ClockInformation> {

    /**
     * 获取门禁打卡记录
     *
     * @param currentPage
     * @param size
     * @param sNumber
     * @param sName
     * @return
     */
    RespPageBean getAccessControl(Integer currentPage, Integer size, LocalDate startTime, LocalDate endTime, String sNumber, String sName);

    /**
     * 获取门禁打卡记录
     *
     * @param currentPage
     * @param size

     * @param sNumber
     * @return
     */
    RespPageBean getStudentAccessControl(Integer currentPage, Integer size, LocalDate startTime,LocalDate endTime, String sNumber);
}
